package com.marvels.system.permission.dto;

import java.util.Date;
import java.util.List;

import com.marvels.common.dto.BaseDTO;

public class SysPositionDTO extends BaseDTO {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	//主键id
    private Integer positionId;
    //岗位编号
    private String positionCode;
    //岗位名称
    private String positionName;
    //父级岗位编码
    private String parentPositionCode;
    //父级岗位名称
    private String parentPositionName;
    //所属组织机构代码
    private String orgCode;
    //所属组织机构名称
    private String orgName;
    //描述
    private String description;
    //子节点
    private List<SysPositionDTO> children;

    public Integer getPositionId() {
        return positionId;
    }

    public void setPositionId(Integer positionId) {
        this.positionId = positionId;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

	public String getPositionCode() {
		return positionCode;
	}

	public void setPositionCode(String positionCode) {
		this.positionCode = positionCode;
	}

	public String getPositionName() {
		return positionName;
	}

	public void setPositionName(String positionName) {
		this.positionName = positionName;
	}

	public String getParentPositionCode() {
		return parentPositionCode;
	}

	public void setParentPositionCode(String parentPositionCode) {
		this.parentPositionCode = parentPositionCode;
	}

	public String getParentPositionName() {
		return parentPositionName;
	}

	public void setParentPositionName(String parentPositionName) {
		this.parentPositionName = parentPositionName;
	}

	public String getOrgCode() {
		return orgCode;
	}

	public void setOrgCode(String orgCode) {
		this.orgCode = orgCode;
	}

	public List<SysPositionDTO> getChildren() {
		return children;
	}

	public void setChildren(List<SysPositionDTO> children) {
		this.children = children;
	}

	public String getOrgName() {
		return orgName;
	}

	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}
    
    
}